//
//  ST_BaseWebController.h
//  ST_BaseMall
//
//  Created by 昱胜 on 2022/9/2.
//

#import "ST_BaseViewController.h"
#import "ST_ProgressWKWebView.h"

NS_ASSUME_NONNULL_BEGIN

@interface ST_BaseWebController : ST_BaseViewController<ProgressWKDelegate>

/* titleString */
@property(nonatomic, copy) NSString *titleString;

/* 隐藏导航 */
@property (nonatomic, assign) BOOL isHiddenNav;

/* 直接关闭web */
@property (nonatomic, assign) BOOL isClose;

@property (nonatomic,strong)ST_ProgressWKWebView *webView;

/* order是否web跳转 */
@property (nonatomic, assign) BOOL fromWeb;
- (void)loadURLString:(NSString *)URLString;
- (void)loadHTMLString:(NSString *)HTMLString;
- (void)loadHTMLString:(NSString *__nullable)HTMLString baseURL:(NSURL *__nullable)baseURL;
- (void)loadFileURL:(NSURL *)loadFileURL allowingReadAccessToURL:(NSURL *)allowingReadAccessToURL;

@end

NS_ASSUME_NONNULL_END
